package com.zhdl.hardware_modules.repository;

import com.project.common.repository.BaseRepository;
import com.zhdl.hardware_modules.entity.ProcessSystem;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface ProcessSystemRepository extends BaseRepository<ProcessSystem, Integer> {
    @Query(value = "select ps from ProcessSystem ps where ps.processId  = :processId")
    ProcessSystem findSystemByProcessId(@Param("processId") int processId);
}
